#pragma once

#include "Theadlib/Theadlib.h"
#include "Theadlib/thread.h"

namespace  Threads
{
	class  Create : public Thread
	{
	protected:
		void * run(ClassThreadObject param, void *parr)
		{						
			((*param)(NULL))->execute(parr);        
			return NULL;
		}
		void * run()
		{			      
			return NULL;
		}
	};

#if	defined(_MSC_VER)
	//extern "C" THREADS_API Create * CreateObjectThread();
#endif
	
}
